diff --git a/apps/stats/templates/stats/stats.html b/apps/stats/templates/stats/stats.html
index 71570d117c..ef8a902490 100644
--- a/apps/stats/templates/stats/stats.html
+++ b/apps/stats/templates/stats/stats.html
@@ -128,5 +128,5 @@
-{{ js('stats') }}
+{{ js('zamboni/stats') }}
{% endblock %}
diff --git a/settings.py b/settings.py
index e55687876d..5e20a27340 100644
--- a/settings.py
+++ b/settings.py
@@ -556,7 +556,7 @@ MINIFY_BUNDLES = {
'js/zamboni/truncation.js',
'js/zamboni/mobile.js',
),
- 'stats': (
+ 'zamboni/stats': (
'js/lib/jquery-datepicker.js',
'js/lib/highcharts.src.js',
'js/zamboni/stats/csv_keys.js',