diff --git a/Tools/TimePlot/Incremental.hs b/Tools/TimePlot/Incremental.hs
--- a/Tools/TimePlot/Incremental.hs
+++ b/Tools/TimePlot/Incremental.hs
@@ -43,7 +43,7 @@
     insert' (t,a) (t1:t2:ts, curBin, !s) 
       | t < t1 = error "Times are not in ascending order"
       | t < t2 = (t1:t2:ts, a:curBin, s)
-      | True   = (t2:ts, [a], insert s (t1,reverse curBin))
+      | True   = insert' (t, a) (t2:ts, [], insert s (t1, reverse curBin))
     finalize' (t1:t2:ts, curBin, s) = finalize (insert s (t1,reverse curBin))
 
 
diff --git a/timeplot.cabal b/timeplot.cabal
--- a/timeplot.cabal
+++ b/timeplot.cabal
@@ -1,5 +1,5 @@
 name: timeplot
-version: 1.0.23
+version: 1.0.24
 cabal-version: >=1.6
 build-type: Simple
 license: BSD3
@@ -29,7 +29,7 @@
     buildable: True
     ghc-options: -rtsopts
     other-modules: Graphics.Rendering.Chart.Event
-    build-depends: Chart == 1.*, Chart-cairo == 1.*, base >=3 && <5, bytestring -any,
+    build-depends: Chart >= 1.2, Chart-cairo == 1.*, base >=3 && <5, bytestring -any,
                    bytestring-lexing -any, cairo -any, colour -any, containers -any,
                    data-default -any, lens >= 3.9,
                    regex-tdfa -any, strptime >=0.1.7, time -any,
