Is there a way to set different step sizes along the x-axis?

I have to draw longe time records. The first few points and the last few points are of special interest and should be shown in fixed steps, the others should be displayed compressed, but the time labels in the x-axis have to be accurate even for the compressed middle data.

If it's possible, I don't want to change the x-values itself.

Thanks in advance!