diff --git a/tools/build-system/build_tarball.sh b/tools/build-system/build_tarball.sh
index e5201716c2f7e8c1ef9dcc1d71972df39f912cae..6e78603f6a8bfb42e0adb57b03b4eb8013a9e18d 100755
--- a/tools/build-system/build_tarball.sh
+++ b/tools/build-system/build_tarball.sh
@@ -97,6 +97,6 @@ find -name autom4te.cache -type d -exec rm -rf {} \;
 find -name *.in~ -type f -exec rm {} \;
 popd # builddir
 
-rm -f sflphone-$VERSION.tar.gz
+rm -f sflphone-*.tar.gz
 tar zcf sflphone-$VERSION.tar.gz sflphone-$VERSION
 rm -rf $BUILDDIR