diff --git a/package.json b/package.json
index 8f8a82352770350bf7ea348d73667507428e50a0..9a5300cd07ca4a9e8051e9147f1b4429c3ca7a55 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
   "version": "2.5.6",
   "description": "HBP interactive atlas viewer. Integrating KG query, dataset previews & more. Based on humanbrainproject/nehuba & google/neuroglancer. Built with angular",
   "scripts": {
-    "build-aot": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'` ng build && node ./third_party/matomo/processMatomo.js",
+    "build-aot": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'` ng build --prod && node ./third_party/matomo/processMatomo.js",
     "dev-server-aot": "ng serve",
     "e2e": "echo NYI && exit 1",
     "wd": "webdriver-manager",
@@ -11,7 +11,7 @@
     "eslint": "eslint",
     "ng": "ng",
     "start": "ng serve",
-    "build": "ng build",
+    "build": "ng build --prod",
     "watch": "ng build --watch --configuration development",
     "test": "ng test",
     "test-ci": "ng test --progress false --watch false --browsers=ChromeHeadless"