flot – show time axis without gaps-Collection of common programming errors
Too bad I can’t accept a comment as an answer, since the answer from George Roberts from Mark’s link worked smoothly.
So what I had to do is to change the mode of the flot from ‘time’ to null and then emulate a time axis.
I’ve created two arrays: the first one with data for the graph and the second one with timestamps:
for (var i=0; i