diff --git a/bin/build-release.sh b/bin/build-release.sh
index f59391698240be3b84cda35c4aa4a566363d59d2..0c86f18cf11e8c61b674d3495c7e6cb2c65dd64e 100755
--- a/bin/build-release.sh
+++ b/bin/build-release.sh
@@ -62,10 +62,6 @@ rm "$TARGET/.editorconfig"
 rm "$TARGET/.gitattributes"
 rm -r "$TARGET/.github"
 rm "$TARGET"/phpunit.xml
-rm "$TARGET"/{,modules/*}/.php_cs.dist
-rm "$TARGET"/{,modules/*}/codecov.yml
-rm "$TARGET"/{,modules/*}/psalm.xml
-rm "$TARGET"/{,modules/*}/.gitignore
 rm "$TARGET"/{cache,config,metadata,locales}/.gitkeep
 rm "$TARGET/composer.phar"
 rm "$TARGET/bin/build-release.sh"