diff --git a/locale/update_po_files.sh b/locale/update_po_files.sh
index e5cb78f89954480dcbc98bff46a7f558f8911d6e..94548cbfe1963cd9dab4b05fba9bdf91b68e2d1d 100755
--- a/locale/update_po_files.sh
+++ b/locale/update_po_files.sh
@@ -2,7 +2,7 @@
 # Run this script with locale as the current directory
 set -o errexit
 echo ";; Recreating audacity.pot using .h, .cpp and .mm files"
-for path in ../modules/mod-* ../libraries/lib-* ../include ../src ../crashreports ; do
+for path in ../modules/* ../libraries/lib-* ../include ../src ../crashreports ; do
    find $path -name \*.h -o -name \*.cpp -o -name \*.mm
 done | LANG=c sort | \
 sed -E 's/\.\.\///g' |\