--- plugins/Makefile.am.orig	2017-02-01 14:16:03.000000000 +0100
+++ plugins/Makefile.am	2017-05-22 17:25:16.121616663 +0200
@@ -7,7 +7,7 @@
 
 pluginsdirs = ${sort ${dir ${wildcard ${srcdir}/*/ ${srcdir}/*/*/}}}
 
-pluginsfiles = $(wildcard ${p}/*.py ${p}/manifest.ini ${p}/*.ui ${p}/*.png)
+pluginsfiles = $(wildcard ${p}/*.py ${p}/manifest.ini ${p}/*.pem ${p}/*.ui ${p}/*.png)
 
 nobase_gajimplugins_DATA = $(foreach p, ${pluginsdirs}, $(pluginsfiles))
 
--- plugins/Makefile.in.orig	2017-03-05 22:58:32.000000000 +0100
+++ plugins/Makefile.in	2017-05-22 17:40:36.897800490 +0200
@@ -316,7 +316,7 @@
 gajimpluginsdir = $(gajim_pluginsdir)
 dist_gajimplugins_PYTHON = 
 pluginsdirs = ${sort ${dir ${wildcard ${srcdir}/*/ ${srcdir}/*/*/}}}
-pluginsfiles = $(wildcard ${p}/*.py ${p}/manifest.ini ${p}/*.ui ${p}/*.png)
+pluginsfiles = $(wildcard ${p}/*.py ${p}/manifest.ini ${p}/*.pem ${p}/*.ui ${p}/*.png)
 nobase_gajimplugins_DATA = $(foreach p, ${pluginsdirs}, $(pluginsfiles))
 MAINTAINERCLEANFILES = Makefile.in
 all: all-am
