diff --git a/src/root/build.tt b/src/root/build.tt
index 0007e62d..3e2aef95 100644
--- a/src/root/build.tt
+++ b/src/root/build.tt
@@ -89,7 +89,7 @@
Build Inputs
[% IF build.buildsteps %]Build Steps[% END %]
[% IF build.dependents %]Used by[% END%]
- History chart
+ [% IF prevBuilds %]History chart[% END %]
@@ -434,7 +434,7 @@
[% END %]
-
+[% IF prevBuilds %]
Build time history (in seconds)
@@ -513,6 +513,7 @@
+[% END %]