diff --git a/build/compile-handlebars-templates.sh b/build/compile-handlebars-templates.sh
index ae1e9481d5645c08d54fbc0447dcac138e639f2f..6bb6052e51fdf0fe4926a71a20d7c8f55defc4e4 100755
--- a/build/compile-handlebars-templates.sh
+++ b/build/compile-handlebars-templates.sh
@@ -16,12 +16,6 @@ handlebars -n OC.Share.Templates core/js/share -f core/js/sharetemplates.js
 # Files app
 handlebars -n OCA.Files.Templates apps/files/js/templates -f apps/files/js/templates.js
 
-# Comments app
-handlebars -n OCA.Comments.Templates apps/comments/js/templates -f apps/comments/js/templates.js
-
-# Versions app
-handlebars -n OCA.Versions.Templates apps/files_versions/js/templates -f apps/files_versions/js/templates.js
-
 # Workflowengine
 handlebars -n OCA.WorkflowEngine.Templates apps/workflowengine/js/templates -f apps/workflowengine/js/templates.js