diff --git a/build.sh b/build.sh
index cefa57e89212f0dd0ecda0a0784c90d8c8a002bd..30e758524b7ea3ad68c28578293bbd86902490af 100755
--- a/build.sh
+++ b/build.sh
@@ -3,5 +3,5 @@ set -e
 set -x
 
                                                # optional, but we would like to generate yaml, not json
-jsonnet -J vendor -m manifests example.jsonnet | xargs -I{} sh -c 'cat $1 | gojsontoyaml > $1.yaml; rm $1' -- {}
+jsonnet -J vendor -m manifests example.jsonnet | xargs -I{} sh -c 'cat $1 | gojsontoyaml > $1.yaml; rm -f $1' -- {}