diff --git a/package/libubox/Makefile b/package/libubox/Makefile
index 9743e8e256c73f6c9d3df8c5944263c609eb8fad..808a1a0e686afdf95ef8b843a5ea1318cf5615d4 100644
--- a/package/libubox/Makefile
+++ b/package/libubox/Makefile
@@ -34,7 +34,12 @@ TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
 
 define Package/libubox/install
 	$(INSTALL_DIR) $(1)/lib/
-	$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/*.so $(1)/lib/
+	$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libubox.so $(1)/lib/
+endef
+
+define Package/libblobmsg-json/install
+	$(INSTALL_DIR) $(1)/lib/
+	$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libblobmsg_json.so $(1)/lib/
 endef
 
 $(eval $(call BuildPackage,libubox))