diff --git a/include/functions.php b/include/functions.php
index 328b00c8a7734a6da4df8b691fc51b5c2d972ed1..21bba8deec30efe102afa1a0bad0af80e051dbcc 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -4169,7 +4169,7 @@
 	}
 
 	function calculate_dep_timestamp() {
-		$files = array_merge(glob("js/*.js"), glob("*.css"));
+		$files = array_merge(glob("js/*.js"), glob("css/*.css"));
 
 		$max_ts = -1;