diff --git a/.gitattributes b/.gitattributes
index 20701478e344f62bd94e307eddb9f6c8401806e2..b33a62116271d06fdbbeee9cbfa842caa4024094 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,3 @@
 # Ignore vendored scripts in GitHub stats
-src/static/* linguist-vendored
+src/static/scripts/* linguist-vendored