diff --git a/lib/transforms/buildProduction.js b/lib/transforms/buildProduction.js
index <HASH>..<HASH> 100644
--- a/lib/transforms/buildProduction.js
+++ b/lib/transforms/buildProduction.js
@@ -131,7 +131,6 @@ module.exports = function (options) {
             // Remove orphan assets, except I18n which might originally have been referenced from the no longer existing bootstrapper:
             .inlineHtmlTemplates()
             .removeUnreferencedAssets({type: query.not('I18n'), isInitial: query.not(true)})
-            .flattenStaticIncludes()
             .convertCssImportsToHtmlStyles()
             .removeDuplicateHtmlStyles({type: 'Html', isInitial: true})
             .mergeIdenticalAssets({isLoaded: true, isInline: false, type: ['JavaScript', 'Css']})
buildProduction: Don't run flattenStaticIncludes anymore, it's no longer necessary.