diff --git a/src/main/webapp/static/themes/clean_and_rebuild.sh b/src/main/webapp/static/themes/clean_and_rebuild.sh
new file mode 100755
index 0000000000000000000000000000000000000000..fa711e25536ce3c84b3cc5cda26692c067293b83
--- /dev/null
+++ b/src/main/webapp/static/themes/clean_and_rebuild.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+rm {light,openolat}/*.{css,css.map}
+for x in light openolat uibk*; do ./compiletheme.sh $x; done