diff --git a/Makefile b/Makefile
index 8f762c1abdc4547d13efceeea4b03b5ab9fa9a81..f348e251b28935385713031193c764c7cfab958d 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 all: dist/mnpw
 
 dist/mnpw: mnpw/*.py pyproject.toml *.rst LICENSE.txt
-	pyinstaller --noconfirm --onefile "--name=$$(basename $@)" mnpw/__init__.py
+	pyinstaller --noconfirm --onefile "--name=$$(basename $@)" --hidden-import dataclasses  mnpw/__init__.py
 
 .PHONY: clean
 clean: